// response 需要被回显的数据
// sourceData 数据源
const DataEcho = (response: any, sourceData: any) => {
    if (sourceData) {
        for (const item in sourceData) {
            response[item] = sourceData[item]
        }
    } else {
        for (const item in response) {
           response[item] = ""

        }
    }
}
const removeData = (sourceData: any) => {
    for (const item in sourceData) {
        sourceData[item] = ''
    }
}
export {
    DataEcho,
    removeData
}